package org.smile.day04;

public class Human extends Animal implements Behaviour,Action{


    @Override
    public void breathe() {
        System.out.println("人用鼻子呼吸");
    }

    @Override
    public void move(){
        System.out.println(this.getClass().getName()+": move");
    }

    @Override
    public void attack() {
        System.out.println(this.getClass().getName()+": attack");
    }

    public void think(){
        System.out.println(this.getClass().getName()+": think");
    }
}
